package com.ruoyi.common.constant;

public class ProjectConstants {

    public static Long MAX_REVIEW_COUNT = 5L;

    public static int ROLE_LEADER = 0; // 项目负责人
    public static int ROLE_RESEARCHER = 1; // 项目研究员

    public static int EDU_BACHELOR = 0; //本科
    public static int EDU_MASTER = 1; //研究生
    public static int EDU_DOCTOR = 2; //博士生
    public static int EDU_DOCTORAL = 3; //博士后

    public static Long STATE_UNCOMMITED = 0L; //未提交
    public static Long STATE_COMMITED = 1L; //已提交
    public static Long STATE_APPROVED = 2L; //审批通过
    public static Long STATE_REVIEWING = 0L; //审核中
    public static Long STATE_REVIEWED = 1L; //审核完成

    public static Long STAGE_TO_EVALUATED = 0L; //待预评估
    public static Long STAGE_TO_ASSIGN_EXPERT = 1L; //待指派专家
    public static Long STAGE_TO_REVIEW = 2L; //待专家评审
    public static Long STAGE_TRACKING = 3L; //实施跟踪
    public static Long STAGE_TO_ACCEPT = 4L; //待验收
    public static Long STAGE_TO_ASSIGN_ACCEPT = 5L; //待验收专家指派
    public static Long STAGE_TO_EXPERT_ACCEPT = 6L; //待专家验收
    public static Long STAGE_COMPLETE = 7L; //已结项

    public static Long HIS_OPER_STATE = 0L; //操作类型：项目状态
    public static int HIS_OPER_STAGE = 1; //操作类型：项目进度
    public static Long HIS_STATE_VALID = 0L; //有效
    public static Long HIS_STATE_INVALID = 1L; //无效
    public static Long HIS_OPER_REVIEW_DENIED = 0L;    //审核不通过
    public static Long HIS_OPER_APPLICATE = 1L; //申报项目
    public static Long HIS_OPER_TO_ACCEPT = 4L; //申请验收
    public static Long HIS_OPER_APPROVED = 2L;  //审核通过
    public static Long HIS_OPER_ACCEPT_DENIED = 3L; //验收不通过
    public static Long HIS_OPER_ACCEPTED = 7L;  //验收通过

    public static String ROLE_APPLICANT = "applicant";
    public static String ROLE_EXPERT = "expert";
    public static String ROLE_ADMIN = "admin";

    public static Long TYPE_REVIEW = 0L;    //审核
    public static Long TYPE_ACCEPT = 1L;    //验收

    public static Long TIME_HALF_DAY = 1000 * 60 * 60 * 12L; //半天时间
    public static Long TIME_HALF_MINUTE = 1000 * 30L; //30秒

    public static Long RESULT_UNREVIEWED = 0L;  //未审核
    public static Long RESULT_APPROVED = 1L;  //审核通过
    public static Long RESULT_DENIED = 2L;      //审核不通过
}
